import { App } from "./App";
import { CommonUtil } from "./frame/util/CommonUtil";
import { RenderUtil } from "./frame/util/RenderUtil";
import { GlobalTemp } from "./global/GlobalTemp";


export class Util {
    private static instance: Util;
    static get ins(): Util {
        if (!this.instance) {
            this.instance = new Util();
        }
        return this.instance;
    }
    private constructor() {
    }

    render: RenderUtil = new RenderUtil(App.ins.resMgr);

    common: CommonUtil = new CommonUtil();

    globalTemp: GlobalTemp = new GlobalTemp();
}